score = eval(input())
if 80 <= score <= 100 :
    print("优")
elif 60 <= score < 80 :
    print("良")
elif 0 <= score < 60 :
    print("差")
else :
    print("输出不对")